﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AntiObesity.Utilities.Wire
{
    public class Column
    {
        public DataType Type { get; set; }
        public string Label { get; set; }

        public string ToJSON()
        {
            return String.Format("{{label:'{0}', type:'{1}'}}", Label, Type.toJSON());
        }
    }
}
